﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NetMicro.Cache.Enums
{
   
    /// <summary>
    /// redis更新条件
    /// </summary>
    public enum RedisWhen
    {
        /// <summary>
        /// 若key存在则是修改，否则新增
        /// </summary>
        Exists,
        /// <summary>
        /// 若key不存在则新增，否则不会执行新增和修改
        /// </summary>
        NotExists
    }
}

